<?php
namespace data\service;

use data\model\Notice;
class NoticeService extends BaseService{

    // 模型初始化
    public function __construct()
    {
        $this->model = new Notice;
    }

    public  function getNotice(){
        return $this->model->select();
    }
}